<template>
  <Layout>
    <div>
      <h2>Post {{ $page.post.title }}</h2>
      <div v-html="$page.post.content">
      </div>
    </div>
  </Layout>
</template>

<page-query>
query ($id: ID!) {
  post (id: $id) {
    id,
    title,
    content
  }
}
</page-query>

<script>
export default {
  name: "PostPage",
};
</script>

<style scoped>
</style>